system of equations and linear algebra